<template>
	<view class="container">
		<view class="list">
			<view class="teacher_list" v-for="(item,index) in dataList" :key="index" @click="$toLink('../pending_check/pending_check',{})">
				<view class="top">
					<text>{{item.approval}}</text>
					<text>{{item.content}}</text>
					<text>{{item.plate}}</text>
					<text>{{item.start_date}}</text>
					<text>{{item.start_time}}</text>
				</view>
				<view class="bottom">
					<image :src="item.url" mode="widthFix"></image>
					<text>{{item.text}}</text>
				</view>
			</view>
			<view class="blank" style="width: 100%; height: 25rpx;">
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList: [{
						approval: '待审批',
						content: '初一专用车',
						plate: '粤G234',
						start_date: '2019.04.03',
						start_time: '12:00-13:00',
						url: '../../static/tupian104.png',
						text: '春游专用',
					},
					{
						approval: '待审批',
						content: '初一专用车',
						plate: '粤G234',
						start_date: '2019.04.03',
						start_time: '12:00-13:00',
						url: '../../static/tupian104.png',
						text: '春游专用',
					},
					{
						approval: '待审批',
						content: '初一专用车',
						plate: '粤G234',
						start_date: '2019.04.03',
						start_time: '12:00-13:00',
						url: '../../static/tupian104.png',
						text: '春游专用',
					},
					{
						approval: '待审批',
						content: '初一专用车',
						plate: '粤G234',
						start_date: '2019.04.03',
						start_time: '12:00-13:00',
						url: '../../static/tupian104.png',
						text: '春游专用',
					},
					{
						approval: '待审批',
						content: '初一专用车',
						plate: '粤G234',
						start_date: '2019.04.03',
						start_time: '12:00-13:00',
						url: '../../static/tupian104.png',
						text: '春游专用',
					},
					{
						approval: '待审批',
						content: '初一专用车',
						plate: '粤G234',
						start_date: '2019.04.03',
						start_time: '12:00-13:00',
						url: '../../static/tupian104.png',
						text: '春游专用',
					}
				]
			}
		},
		methods: {

		},
		computed: {

		}
	}
</script>

<style lang="scss">
	.list {
		width: 100%;
		overflow: hidden;

		.teacher_list {
			width: 710rpx;
			border-radius: 12rpx;
			margin-top: 20rpx;
			height: 145rpx;
			margin-left: 20rpx;
			box-shadow: 0px 1px 1px 1px #ccc;

			.top {
				width: 100%;
				height: 65rpx;
				display: flex;
				justify-content: flex-start;

				text {
					&:nth-child(1) {
						width: 60rpx;
						height: 30rpx;
						margin-top: 25rpx;
						text-align: center;
						line-height: 30rpx;
						border-radius: 9rpx;
						margin-left: 20rpx;
						color: #fff;
						font-size: 18rpx;
						background-color: #FFA100;
					}

					&:nth-child(2) {
						color: #333333;
						font-size: 28rpx;
						margin-left: 40rpx;
						margin-top: 20rpx;
					}

					&:nth-child(3) {
						color: #666666;
						font-size: 26rpx;
						margin-top: 23rpx;
						margin-left: 10rpx;
					}

					&:nth-child(4) {
						color: #999999;
						margin-top: 26rpx;
						font-size: 20rpx;
						margin-left: 60rpx;
					}

					&:nth-child(5) {
						color: #999999;
						font-size: 20rpx;
						margin-top: 25rpx;
						margin-left: 15rpx;
					}
				}
			}

			.bottom {
				width: 100%;
				height: 70rpx;
				display: flex;
				justify-content: flex-start;

				image {
					&:nth-child(1) {
						width: 30rpx;
						margin-top: 30rpx;
						margin-left: 20rpx;
					}
				}

				text {
					&:nth-child(2) {
						color: #666666;
						font-size: 25rpx;
						margin-top: 30rpx;
						margin-left: 15rpx;
					}
				}

			}
		}
	}
</style>
